package com.otp.service;

import com.otp.pojo.entity.Announcement;
import com.otp.pojo.request.announcement.*;

import java.util.List;

public interface AnnouncementService {
    List<Announcement> list();
    Announcement getById(Long id);
    Announcement create(AnnouncementCreateRequest request);
    Announcement update(AnnouncementUpdateRequest request);
    void delete(Long id);
}